package org.example.hoturls;

/**
 * 处理后的结果类
 */
public class PageViewCount {
    public String url;
    public Long windowEnd;
    public Long count;


    public PageViewCount(String url, Long windowEnd, Long count) {
        this.url = url;
        this.windowEnd = windowEnd;
        this.count = count;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getWindowEnd() {
        return windowEnd;
    }

    public void setWindowEnd(Long windowEnd) {
        this.windowEnd = windowEnd;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "PageViewCount{" +
                "url=" + url +
                ", windowEnd=" + windowEnd +
                ", count=" + count +
                '}';
    }
}
